#ifndef CLIENT6_H
#define CLIENT6_H

#include <QWidget>
#include <client3.h>

namespace Ui {
class client6;
}

class client6 : public QWidget
{
    Q_OBJECT

public:
    explicit client6(QWidget *parent = nullptr);
    ~client6();

private slots:
    void on_pushButton_addvideo_clicked_clicked();

    void on_pushButton_deletevideo_clicked_clicked();

    void on_pushButton_clearvideo_clicked_clicked();

    void on_pushButton_play_clicked_clicked();

    void on_pushButton_cancel_clicked_clicked();

    void on_pushButton_stop_cont_clicked_clicked();

    void on_pushButton_prev_clicked_clicked();

    void on_pushButton_stop_2_clicked_clicked();

    void on_listw_doubleClicked(const QModelIndex &index);

    void on_commandLinkButton_clicked();

private:
    Ui::client6 *ui;
    //记录正在播放的视频
    QString current_video;
    QProcess *p;
    QMediaPlayer* player2;
    QMediaPlayer* player1;
    QMediaPlaylist* playlist1;
    QString video_duration;
    QString video_duratio;
    QVideoWidget* vw;

};

#endif // CLIENT6_H
